function initialize() 
{
    var hiddenForm = document.getElementById('displayinfo');
    if(hiddenForm != null) 
    { 
        parent.frames[0].document.getElementById('information').innerHTML = hiddenForm.innerHTML; 
    }
}

function retrieveInformation() 
{
	var city = document.getElementById("selectCity").value;
	var type = "";
	var input = document.getElementsByTagName("input");
	for (var i=0; i < input.length; i++)
	{ 
	    if (input.item(i).checked == true)
	    {
	        type = input.item(i).value;
	    }
	}
	top.frames["hiddenframe"].location = "http://localhost/BegAjax/Chapter4/retrieveHotelInformation.aspx";
}





